<?php

namespace App\Models;

use Cache;
use Log;
class RecommendCategory extends BaseModel {

    //中间表
    protected $table = 'recommend_category';
    protected $primaryKey = 'id';
    
    public $LIVE_REBO = 1;//正在热播
    public $LIVE_YUGAO = 2;//直播预告
    public $MEITI_ZHUANQUN = 3;//媒体专区
    public $JINGXUAN_LUNBO = 4;//轮播精选
    
    // 验证请求参数格式参数
    public function __construct( $request = null) {
        $this->LIVE_REB = env('LIVE_REB',1);
        $this->LIVE_YUGAO = env('LIVE_YUGAO',2);
        $this->MEITI_ZHUANQUN = env('MEITI_ZHUANQUN',3);
        $this->JINGXUAN_LUNBO = env('JINGXUAN_LUNBO',4);
    }
    
}
